/*package com.docHunt.Dao.DaoImpl;

import java.util.ArrayList;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;

import com.docHunt.Constants.QueryConstants;
import com.docHunt.Dao.InqDao;
import com.docHunt.Dto.DoctTypesDto;
import com.docHunt.Dto.InqTypesDto;
import com.docHunt.Dto.ProductsDto;
import com.docHunt.Mapper.DoctTypesMapper;
import com.docHunt.Mapper.InqTypesMapper;
import com.docHunt.Mapper.ProductsMapper;

public class InqDaoImpl extends BaseDaoImpl implements InqDao {

	@Autowired
	private JdbcTemplate jdbcTemplate;

	@SuppressWarnings("unchecked")
	public List<InqTypesDto> fetchInquiryList() {

		List<InqTypesDto> list = new ArrayList<InqTypesDto>();
		try {

			list = this.jdbcTemplate.query(QueryConstants.SELECT_ALL_INQ_TYPES,
					new InqTypesMapper());

		} catch (Exception e) {

		}

		return list;
	}

	@SuppressWarnings("unchecked")
	public List<DoctTypesDto> fetchDoctTypeList() {

		List<DoctTypesDto> list = new ArrayList<DoctTypesDto>();
		try {

			list = this.jdbcTemplate.query(QueryConstants.SELECT_ALL_DOCT_TYPES,
					new DoctTypesMapper());

		} catch (Exception e) {

		}

		return list;
	}
	
	@SuppressWarnings("unchecked")
	public List<ProductsDto> fetchProductList() {

		List<ProductsDto> list = new ArrayList<ProductsDto>();
		try {

			list = this.jdbcTemplate.query(QueryConstants.SELECT_ALL_PRODUCTS,
					new ProductsMapper());

		} catch (Exception e) {

		}

		return list;
	}
}
*/